package com.gb.demand.common.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class InvoiceInfo {

    @NotNull(message = "token不能为空")
    private String token;

    private String thirdOrderId;

    private Integer invoiceType;

    private Integer invoiceState;

    private Integer content;

    private String itins;

    private String bank;

    private String account;

    private String address;

    private String telephone;

    //发票查询返回字段
    private String invoiceId;  //发票号码

    private String invoiceCode;//发票代码

    private String invoiceContent;//开票内容

    private BigDecimal invoiceNakedAmount;//发票未税金额，专票必填

    private BigDecimal invoiceTaxRate;//发票税率，专票必填

    private BigDecimal invoiceTaxAmount;//发票税额，专票必填

    private BigDecimal invoiceAmount;//发票总金额

    private String invoiceTitle;//发票抬头

    private String taxpayer;//纳税人识别号，专票必填

    private String billOrg; //开票机构

    private String fileUrl; //电子票下载地址

    private Integer invoiceMaterial;//发票材质，1-电子票，2-纸质发票

}
